from view import genres_view as gv
import wx


class Outlook(wx.Frame):

    def __init__(self, parent=None, size=(640, 320)):
        wx.Frame.__init__(self, parent, title='股票行情分析', size=size)
        nb = wx.Notebook(self)
        self.genre_view = gv.GenreView(nb)
        nb.AddPage(self.genre_view, '概念行情')


if __name__ == '__main__':
    app = wx.App(False)
    frame = Outlook(size=wx.DisplaySize())
    frame.Show()
    app.MainLoop()
